package com.jeomo.mem.provider.request;

import com.jeomo.common.core.request.BaseRequest;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * 修改会员的基本信息
 */
public class EditMemberBaseInfoRequest extends BaseRequest {

    @NotBlank(message = "会员code不能为空")
    private String memberCode;

    private String name;

    private String email;

    private String address;

    private String idCard;

    private Date birthDay;

    private Integer sex;

    // *********getter setter ****************

    public String getMemberCode() {
        return memberCode;
    }

    public void setMemberCode(String memberCode) {
        this.memberCode = memberCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public Date getBirthDay() {
        return birthDay;
    }

    public void setBirthDay(Date birthDay) {
        this.birthDay = birthDay;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }
}
